package com.ziyueyuwen.xiniao.service.baseservice;

/**
 * @author wancheng  on 2019/2/26.
 */
public interface BaseService {
    /**
     * 返回boolean结果
     * @param res
     * @return
     */
    default Boolean returnRes(int res) {
        if (res != 1) {
            return false;
        }
        return true;
    }
}
